package com.fireandsword.system.domain;


import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


/**
 * @author Immortal
 * @version 1.0
 * @description TODO
 * @date 2023/12/26 9:20
 */
@Data
public class SysUserInfo {

    private Integer id;

    @NotNull(message = "用户名不能为空")
    private String name;

    @Min( value = 0, message = "年龄不能小于0")
    private Integer age;

    private String gender;
}
